import service from "@/utils/request"
interface OrderSummaryType {
  brand: string,//	品牌	string	body	true
  deliveryEndDate: string,//	指令交期结束	string	body	true
  deliveryStartDate: string,//	指令交期开始	string	body	true
  orderEndDate: string,//	下单日期结束	string	body	true
  orderId: string,//	指令	string	body	true
  orderStartDate: string,//	下单日期开始	string	body	true
  pageNum: number,//		integer	body	true
  pageSize: number,//		integer	body	true
  sample: string,//	样品类型	string	body	true
  season: string,//	季度	string	body	true
  style: string,//	货号	string	body	true
}
interface TableListType {
  list: [],
  total: number,
  pageNum: number,
  pageSize: number,
}
interface SelectListType {
  brands: [],
  samples: [],
  seasons: [],
}
export default {
  // 获取表格列表
  getTableList(params: OrderSummaryType) {
    return service.post<any, any>('/prod/getPcProdDynamicList', params)
  },
  // 获取下拉列表
  getSelectList() {
    return service.get<any, SelectListType>('/pcOrder/getOrderCondition')
  },

}